#ifndef _MODULES_H 
#define _MODULES_H

#include <stdint.h>

#ifdef __cplusplus
extern "C"{
#endif

extern RESULT MSGPROC_init(void);
extern RESULT DATAPROC_init(void);
extern RESULT SYSM_init(void);
extern RESULT DATASTOR_init(void);
extern RESULT dongle_init(void);
extern RESULT patask_init(void);
extern RESULT GPS_init(void);
extern RESULT GSM_init(void);
extern RESULT CDMA_init(void);
extern RESULT EUTRAN_init(void);
extern RESULT pwrtask_init(void);
extern RESULT fwmgr_init(void);
extern RESULT Monitor_init(void);
extern RESULT LogServer_init(const char* comName, const char* path, int mode);
extern RESULT WCDMA_init(void);
extern RESULT TDSCDMA_init(void);
extern RESULT WIFI_init(void);
extern RESULT SCANNER_init(void);
extern RESULT WIFIBOARD_init(void);
extern RESULT GPSBOARD_init(void);

extern void SYSM_broadcastMsgToActiveClient(void (*action)(void *,U16),void *, U16 );
extern BOOL SYSM_isClientActive(U16 srcID);
extern int CSetLogLevel(int32_t logLevel);

extern void DATAPROC_printStats(void);
extern void DATASTOR_printStats(void);
extern void MSGPROC_printStats(void);

typedef struct tagGPSPosition {
    double longitude;
    double latitude;
    double altitude;
} GPSPOSITION ;

#ifdef __cplusplus
}
#endif


#endif

